Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics improvement #95

Merged
merged 6 commits into from
Apr 30, 2024
Merged

metrics improvement #95

merged 6 commits into from
Apr 30, 2024

Conversation

dealloc
Copy link
Member

@dealloc dealloc commented Apr 29, 2024

this PR expands the metrics implemented in #87

It adds normalization for the Client name that is currently exported, as Prometheus currently reports things like this:
image

note that it contains duplicate domains (like divers.gg) because it also records the path, and heckdivers has multiple Netlify URLS, these all get normalized and aggregated in proper client names.

It also documents and adds support for the X-Super-Client header that clients should start sending ASAP (we'll be providing PR for most developers we can identify and find GH for) to further improve client detection in the future.

This is the first PR towards #94

@dealloc dealloc added documentation Improvements or additions to documentation feature request This issue requests a feature that doesn't exist (yet) labels Apr 29, 2024
@dealloc dealloc requested a review from a team April 29, 2024 21:04
@dealloc dealloc self-assigned this Apr 29, 2024
Copy link
Contributor

@chatterchats chatterchats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@chatterchats chatterchats merged commit 3e5f9b2 into master Apr 30, 2024
3 checks passed
@chatterchats chatterchats deleted the feature/metrics-improvement branch April 30, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature request This issue requests a feature that doesn't exist (yet)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants